<form id="edit-form" class="form-horizontal" role="form" data-toggle="validator" method="POST" action="">
    <input type="hidden" id="row" name="data" value='{$row|json_encode|htmlentities}'/>
    <input type="hidden" name="row[id]" value="{$row.id}">
    <input type="hidden" name="row[city_id]" value="{$row.city_id}">
    <input type="hidden" name="row[school_id]" value="{$row.school_id}">
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Location_address')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-location_address" class="form-control" name="row[location_address]" type="text" value="{$row.location_address|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label for="c-subject_lv_level" class="control-label col-xs-12 col-sm-2">班级所属:</label>
        <div class="col-xs-12 col-sm-8" id="div-subject_lv">
            <select name="row[subject_lv]" id="c-subject_lv_level" class="form-control">
            </select>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Description')}:</label>
        <div class="col-xs-12 col-sm-8">
            <textarea id="c-description" class="form-control" rows="5" name="row[description]" cols="50">{$row.description|htmlentities}</textarea>
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Admin_id')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-admin_id" data-rule="required"  class="form-control" name="row[admin_id]" type="text" value="{$row.admin_id|htmlentities}">
        </div>
    </div>
    <div class="form-group">
        <label class="control-label col-xs-12 col-sm-2">{:__('Contact_phone')}:</label>
        <div class="col-xs-12 col-sm-8">
            <input id="c-contact_phone" class="form-control" name="row[contact_phone]" type="text" value="{$row.contact_phone|htmlentities}">
        </div>
    </div>


    <div class="form-group layer-footer">
        <label class="control-label col-xs-12 col-sm-2"></label>
        <div class="col-xs-12 col-sm-8">
            <button type="submit" class="btn btn-success btn-embossed disabled">{:__('OK')}</button>
            <button type="reset" class="btn btn-default btn-embossed">{:__('Reset')}</button>
        </div>
    </div>
</form>